package com.lupus.common;

import java.util.Map;

import net.sf.json.JSONObject;

public class ConvertFactory {
	public static Map<String,Object> stringToMap(String str){
		JSONObject jsonObject = JSONObject.fromObject(str);
		return jsonObject;
	}
	
	public static String mapToString(Map map){
		return JSONObject.fromObject(map).toString();
	}
}